package com.meizi.mm.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.meizi.mm.service.UserServiceImpl;

@Controller
public class TestController {
	
	@Autowired
	private UserServiceImpl userServiceImpl;

	@RequestMapping("/test")
	@ResponseBody
	public Object test() {
		return userServiceImpl.getUserInfo();
	}
}
